package gov.pbc.nn.kjgl.task.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

/**
 * 分办人
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "T_TASK_BRANCH_USER_")
public class TaskBranchUser extends BaseEntity {

	

	private static final long serialVersionUID = 1L;

	@Column(name = "TASK_ENTITY_ID_", length = 60)
	@PropertyDef(label = "任务实体的ID")
	private String taskEntityId;

	@Column(name = "USERNAME_", length = 60)
	@PropertyDef(label = "分办人帐号")
	private String username;
	@Column(name = "CNAME_", length = 60)
	@PropertyDef(label = "分办人")
	private String cname;

	@Column(name = "DEPT_ID_", length = 60)
	private String deptId;
	@Column(name = "DEPT_NAME_", length = 200)
	@PropertyDef(label = "分办部门")
	private String deptName;
	
	@Column(name = "BRANCH_TYPE_", length = 60)
	@PropertyDef(label = "分办类型", description = "南宁部门分办，地市科室分办")	
	private String branchType;
	
	public String getTaskEntityId() {
		return taskEntityId;
	}

	public void setTaskEntityId(String taskEntityId) {
		this.taskEntityId = taskEntityId;
	}
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getBranchType() {
		return branchType;
	}

	public void setBranchType(String branchType) {
		this.branchType = branchType;
	}
	
	

}
